                                <?php
                                use yii\web\Controller;
                                 //设置导航标题   ?>
                                <?php  $this->beginBlock('pagename'); ?>                               
                                                                                    商品管理
                                <?php $this->endBlock(); ?>       
                                
                                <div class="row">
									

									<div class="col-sm-12">
										<h3 class="header blue lighter smaller">
											<i class="ace-icon fa fa-folder-o smaller-90"></i>
											Tabs
										</h3>

										<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
											<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" role="tablist">
												<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active" role="tab" tabindex="0" aria-controls="tabs-1" aria-labelledby="ui-id-29" aria-selected="true" aria-expanded="true">
													
													<a href="#tabs-1" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-29">
													<i class="green ace-icon fa fa-home bigger-120"></i>
													商品单位字典管理
													</a>
												</li>
                                                  
												<li class="ui-state-default ui-corner-top" role="tab" tabindex="-1" aria-controls="tabs-2" aria-labelledby="ui-id-30" aria-selected="false" aria-expanded="false">
													<a href="#tabs-2" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-30">
													<i class="green ace-icon fa  fa-credit-card bigger-120"></i>
													商品单位添加
													</a>
												</li>

												
												
											</ul> 
											<div id="tabs-1" aria-labelledby="ui-id-29" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" aria-hidden="false" style="display: block;">
												
											    <?=$this->render('_unitinfo') ?> 
											</div>

											<div id="tabs-2" aria-labelledby="ui-id-30" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" aria-hidden="true" style="display: none;">
												<?= $this->render('_unitinfoadd',['unitinfomodel'=>$unitinfomodel]); ?>
												
											</div>
                                             
                                            								
										</div>
									</div>
								</div>	
								
<?php 								
$js= <<<JS
       $('#tabs').tabs();
       $('#tabs').tabs({active:0});                  		                  		                 		          
JS;
$this->registerJs($js);


?>							
								
								
